/*
* Copyright 2017 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-common
*
* @File name : AccessToken.java
*
* @Author : Administrator
*
* @Date : 2017年8月17日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2017年8月17日    Administrator    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package org.marketing.common;


/**
*
* @author Administrator
* TODO description
* @date 2017年8月17日
*/

public class AccessToken {

    private static String accessToken; // 获取到的凭证
    private static String expiresIn; // 凭证有效时间，单位：秒
    private static String ticket; // jsapi_ticket
    String errcode;//全局返回码
    String errmsg;//说明
    
    public String getErrcode() {
        return errcode;
    }
    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }
    public String getErrmsg() {
        return errmsg;
    }
    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
    

    public static String getAccessToken() {
        return accessToken;
    }

    public static void setAccessToken(String accessToken) {
        AccessToken.accessToken = accessToken;
    }

    public static String getExpiresIn() {
        return expiresIn;
    }

    public static void setExpiresIn(String expiresIn) {
        AccessToken.expiresIn = expiresIn;
    }

    public static String getTicket() {
        return ticket;
    }

    public static void setTicket(String ticket) {
        AccessToken.ticket = ticket;
    }
    
}
